package com.atguigu.gulimall.seckill.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableAsync    //开启异步任务功能，防止定时任务之间相互阻塞
@EnableScheduling    //开启定时任务功能
@Configuration
public class ScheduledConfig {
}